home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atlas of U.S. Presidents
/
Atlas of U.S. Presidents.iso
/
cserve
/
scripts.lib
/
FENICS2.SCR
< prev
next >
Wrap
Text File
|
1994-09-21
|
1KB
|
54 lines
!
! Copyright (c) 1994
! by CompuServe Incorporated, Columbus, Ohio
!
! The information in this software is subject to change without
! notice and should not be construed as a commitment by CompuServe.
!
! FENICS II:
! Connect to FENICS II
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.5.1"
!-V
show "Connecting to FENICS II";
Tries = 5;
on cancel goto Return_Cancel;
wait until 50;
send " P" & %CR;
Wait_FENICS2:
if Tries = 0 goto Return_Failure;
Tries = Tries - 1;
wait
"Host Name?" goto Send_FENICS2_Host,
"User ID:" goto Return_Success,
"Host Name:" goto Return_Success,
%mdm_Failure goto Return_Failure
until 80;
send " P" & %CR;
goto Wait_FENICS2;
Send_FENICS2_Host:
wait until 10;
show "Sending FENICS II address...";
send "C CIS" & %CR;
goto Wait_FENICS2;
Return_Failure:
define %FailureMsg = "FENICS II not responding";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
send %CR;
wait until 10;
exit %Success;